<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>keygen元素</title>
</head>
<body>
    <form action="" id="form" method="post">
        <fieldset>
            <legend>keygen元素的使用</legend>
            用户名：<input type="text" name="user_name">
            加密： <keygen name="security"></keygen>
            <input type="submit">
        </fieldset>
    </form>
</body>
</html>